﻿using AutoMapper;
using Blog.Application.Contract.Blogs.Dto;
using Blog.Module;

namespace Blog.Application.AutoMapper
{
    public class BlogAutoMapperProfile : Profile
    {
        public BlogAutoMapperProfile()
        {
            CreateMap<BlogDto, Module.Blogs>();
            CreateMap<CreateBlogsDto, Module.Blogs>();
            CreateMap<CreateBlogTypeDto, Module.BlogTypes>();
            CreateMap<BlogTypeDto, Module.BlogTypes>();
        }
    }
}
